home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 14352 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.8 KB

  1. Path: solon.com!not-for-mail
  2. From: seebs@solutions.solon.com (Peter Seebach)
  3. Newsgroups: comp.lang.c++,comp.lang.c,comp.object,comp.software-eng
  4. Subject: Re: Portability of code & skills (Beware of "C" Hackers etc)
  5. Date: 29 Mar 1996 19:21:08 -0600
  6. Organization: Usenet Fact Police (Undercover)
  7. Message-ID: <4ji2a4$6rk@solutions.solon.com>
  8. References: <4ikb6kINN1is@mayne.ugrad.cs.ubc.ca> <4j6c48$4mr@bughouse.imonics.com> <315B0A17.489A@ix.netcom.com> <4jh25b$8s3@bughouse.imonics.com>
  9. NNTP-Posting-Host: solutions.solon.com
  10.  
  11. In article <4jh25b$8s3@bughouse.imonics.com>,
  12. Imonics Corporation <rcook@imonics.com> wrote:
  13. >Unix has (and had) the alias mechanism for dealing with shortening commands.
  14. >If they had called the command something like "list", and you wanted to call
  15. >it "ls", and I wanted to call it "l", and she wanted to call it "dr", we
  16. >can (and could) all do that.  And when one of us wanted to look up the 
  17. >command using "man" (or "help"), it would have been much easier to remember
  18. >to look for "list" than for "ls".
  19.  
  20. man -k list, or apropos list, does in fact point you to ls, under
  21. "list directory contents".  apropos dir even points you to ls.
  22.  
  23. >I don't think length is the reason for the cryptic names.  "grep" could have
  24. >been called "find" without adding characters.
  25.  
  26. But why?  "find" was an existing command to find things.  "grep" does not
  27. find things, it globally prints regular expressions.  Since it was
  28. written after ed, everyone had been using g/re/p for ages, and it was
  29. an intuitive device.
  30.  
  31. >"pwd" could have been called "pd"
  32. >if they had wanted just shorter commands (and, incidentally, to be consistent
  33. >with "cd" -- it should have been either "cwd"/"pwd" or "cd"/"pd").  Besides,
  34. >since alias is there, who are they to pick my abbreviations for me?
  35.  
  36. alias wasn't there back then.  :)
  37.  
  38. >Or, if they DID do it for this reason, then it's a very poor reason.  Glass
  39. >teletypes weren't that uncommon in the mid-70s, reasonable foresight would
  40. >have led to the conclusion that understanding the commands was more important
  41. >than typing them quickly in their raw (un-aliased) form.
  42.  
  43. True.  But you don't *understand* words.  You remember them.  "you" is not
  44. something that I remember because it's mnemonic, it's something I remember
  45. because it's short.  "person I'm talking to" is too damn long.
  46.  
  47. >But only if you wanted people to understand them easily.
  48.  
  49. Understand easily, or use easily once you understand?  :)
  50.  
  51. Even today, with Unix's short lines, I frequently type 100+ character
  52. lines of commands.
  53.  
  54. Should I type 200+ characters?  No.
  55.  
  56. -s
  57. -- 
  58. Peter Seebach - seebs@solon.com - Copyright 1996 Peter Seebach.
  59. C/Unix wizard -- C/Unix questions? Send mail for help.  No, really!
  60. FUCK the communications decency act.  Goddamned government.  [literally.]
  61. The *other* C FAQ - http://www.solon.com/~seebs/c/c-iaq.html
  62.